package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 社区
*
* @author liuyujun 384880231@qq.com
* @since 3.0 2022-01-13
*/
@Data
@ApiModel(value = "社区")
public class CommunityVillageDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID",hidden = true)
    private Long id;
    @ApiModelProperty(value = "小区名字")
    private String name;
    @ApiModelProperty(value = "所在省")
    private String vProvince;
    @ApiModelProperty(value = "所在市")
    private String vCity;
    @ApiModelProperty(value = "所在地区")
    private String vLocation;
    @ApiModelProperty(value = "详细地区")
    private String vDetailedLocation;
    @ApiModelProperty(value = "联系人")
    private String contacts;
    @ApiModelProperty(value = "联系方式")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "户数")
    private Integer households;
    @ApiModelProperty(value = "小区坐标")
    private String coordinate;
    @ApiModelProperty(value = "工程商")
    private String engineer;
    @ApiModelProperty(value = "更新人")
    private String updator;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateTime;
    @ApiModelProperty(value = "创建人",hidden = true)
    private String creator;
    @ApiModelProperty(value = "创建时间",hidden = true)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "状态")
    private Boolean disable;
    @ApiModelProperty(value = "逻辑删除1",hidden = true)
    private Boolean logicalDelete;


}